<script  src="/kissy/build/seed.js"></script>
<script src="/kissy/src/package.js"></script>
<script >
    KISSY.use("io", function (S, io) {

        var promise = io({
            url:'../../data/io-json.jss',
            dataType:'json',
            success:function () {
                throw new Error("haha !");
            },
            error:function(){
                alert(1);
            }
        });

    });
</script>